Definition at line 33 of file IPresetHandler.hpp.
| Exponent::GUI::Controls::IPresetHandler::IPresetHandler | ( | ) | [inline] |
Construction
Definition at line 45 of file IPresetHandler.hpp.
| virtual Exponent::GUI::Controls::IPresetHandler::~IPresetHandler | ( | ) | [inline, virtual] |
Destruction
Definition at line 50 of file IPresetHandler.hpp.
| virtual void Exponent::GUI::Controls::IPresetHandler::getPresetExtensionFilter | ( | CString & | theExtensionFilter, | |
| CString & | theExtensionDescription | |||
| ) | [pure virtual] |
Get the preset extension
| theExtensionFilter | Should be filled on return with the extension (eg - '*.txt') | |
| theExtensionDescription | Should be filled on return with a description of the file (eg - 'Text documents') |
| virtual bool Exponent::GUI::Controls::IPresetHandler::loadPreset | ( | const CSystemString & | presetPath | ) | [pure virtual] |
Load a preset
| presetPath |
| bool | True if you loaded the preset properly, false otherwise |
| virtual bool Exponent::GUI::Controls::IPresetHandler::savePreset | ( | const CSystemString & | presetPath | ) | [pure virtual] |
Save a preset
| presetPath | The path to save to |
| bool | True if you saved the preset properly, false otherwise |
| virtual bool Exponent::GUI::Controls::IPresetHandler::validatePreset | ( | const CSystemString & | filename | ) | [pure virtual] |
Validate a preset -> Confirum that it meets you specifications
| filename | The name of the file to validate |
| bool | True if it meets your specifications, false otherwise |
| virtual bool Exponent::GUI::Controls::IPresetHandler::validatePreset | ( | const CSystemString & | path, | |
| CPresetIO & | presetIO | |||
| ) | [pure virtual] |
Validate a preset -> Confirm that it meets the specifications YOU require
| path | The path to the file to validate | |
| presetIO | The presetIO to use to interogate the file |
| bool | True if it meets the specifications YOU require, false otherwise |